﻿package mortal.game.view.rebate.openServerSevenDay.command
{
    import Framework.MQ.*;
    import Message.Public.*;
    import mortal.game.cache.*;
    import mortal.game.events.*;
    import mortal.game.mvc.*;
    import mortal.game.net.broadCast.*;
    import mortal.mvc.core.*;

    public class OpenServerSevenDayCommand extends BroadCastCall
    {

        public function OpenServerSevenDayCommand(param1:Object)
        {
            super(param1);
            return;
        }// end function

        override public function call(param1:MessageBlock) : void
        {
            var _loc_2:* = param1.messageBase as SPublicInt;
            Cache.instance.rebate.hasOneSevenReward = _loc_2.publicInt;
            Dispatcher.dispatchEvent(new DataEvent(EventName.RebateShowRewardIconEffect));
            Dispatcher.dispatchEvent(new DataEvent(EventName.RebateShowRewardTabEffect));
            return;
        }// end function

    }
}
